Get-TypeConstructor
SYNOPSIS
Gets the constructors for a .NET type.
SYNTAX
Get-TypeConstructor [-TypeName] <Type> [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Returns the constructors defined for the specified .NET type, including each constructor's parameter types and names.
EXAMPLES
EXAMPLE 1
Get-TypeConstructor -TypeName ([datetime])
Lists the constructors available for the DateTime type.
PARAMETERS
-TypeName
The .NET type to inspect, such as [datetime].
Type: Type
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
psTypeMemberConstructor
NOTES
Source: https://github.com/jdhitsolutions/PSScriptTools/
RELATED LINKS
EDIT THIS DOC
This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.